
import { getAvailable, getAlphaBuyOrSell } from './buySellOperations.js'
import { get } from '@/http/http.js'

import { observeAlphaTable } from '@/content-scripts/watch/trading/alpha.js'


export function createAlpha() {
    console.log('createAkpha');
    get('/data/basic/alpha').then((res) => {
        console.log(res, '/data/basic/alpha查询成功');

        const { availableUSDT } = res.data
        getAvailable(availableUSDT)
        getAlphaBuyOrSell()
        observeAlphaTable()
    })

}